package com.tencent.wxcloudrun.controller.form;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

// 修改申请状态
@EqualsAndHashCode(callSuper = true)
@Data
public class UpdateApplyStatusForm extends AdminOperateBaseForm {

    @NotNull(message = "记录id不能为空")
    private Long recordId;

    @NotBlank(message = "状态不能为空")
    private String status;

    // 是否生成task
    private Boolean genTask;

    // 是否同步关闭所有相关任务
    private Boolean syncCloseAllTask;

}
